﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ContractQuery.aspx.cs" Inherits="WMS6.Web.Billing.ContractQuery" meta:resourcekey="Page" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>ContractQuery</title>
   <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />
    <script src="../Js/jquery.js" type="text/javascript"></script>
    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>
    <script src="../Js/util.js" id="js" type="text/javascript"></script>
    <script src="../Js/InitPage.js" type="text/javascript"></script>   
    <script src="../Js/calendar.js" type="text/javascript" charset="gb2312"></script> 
    <base target="_self" /> 
    <script type="text/javascript">

        //初始化页面
        window.onload = function() {
            var actionID = window.dialogArguments;
            if (actionID != "" && actionID != null) {
                document.getElementById("hdnActionID").value = actionID;
                var array = actionID.split(',');
                initQueryPage(array[0], array[1]);
            }
            else {
                initQueryPage();
            }
        }

        //窗口大小改变时触发的事件
        window.onresize = function() {
            autoResizeQueryDiv("div_query");
        }
    </script>
</head>
<body>
    <form id="F9010" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
    
    <div id="div_menu">
            <div style="float:left; width: 8px;">
                <div class="tabL"></div>
            </div>
            <div class="tabLabelCont tabCur">
                <asp:Label ID="lblContract" runat="server" Text="合同查询" CssClass="hover" 
                    meta:resourcekey="lblContract"></asp:Label>
            </div>
            <div style="float: left">
                <div class="tabR"></div>
            </div>
        </div>
        <div id="div_query">
            <table width="360" cellpadding="0" cellspacing="0">
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblContractID" runat="server" Text="合同编号" 
                            meta:resourcekey="lblContractID"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtContractID" runat="server" CssClass="textbox" 
                            meta:resourcekey="txtContractID"></asp:TextBox>
                    </td>
                    <td>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlContractID" runat="server" CssClass="selectbox" 
                            meta:resourcekey="ddlContractID">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblOwnerID" runat="server" Text="货主" 
                            meta:resourcekey="lblOwnerID"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtOwnerID" runat="server" CssClass="textbox" 
                            meta:resourcekey="txtOwnerID"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlOwnerID" runat="server" CssClass="selectbox" 
                            meta:resourcekey="ddlOwnerID">
                        </asp:DropDownList>
                    </td>
                </tr>
                
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblContractType" runat="server" Text="合作类型" 
                            meta:resourcekey="lblContractType"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtContractType" runat="server" CssClass="textbox" 
                            meta:resourcekey="txtContractType"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlContractType" runat="server" CssClass="selectbox" 
                            meta:resourcekey="ddlContractType">
                        </asp:DropDownList>
                    </td>
                </tr>
                
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblStarTime" runat="server" Text="开始时间" 
                            meta:resourcekey="lblStarTime"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtStarTime" runat="server" CssClass="textbox" 
                            meta:resourcekey="txtStarTime"></asp:TextBox><img src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtStarTime);"/>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlStarTime" runat="server" CssClass="selectbox" 
                            meta:resourcekey="ddlStarTime">
                        </asp:DropDownList>
                    </td>
                </tr>
                   <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblEndTime" runat="server" Text="结束时间" 
                            meta:resourcekey="lblEndTime"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtEndTime" runat="server" CssClass="textbox" 
                            meta:resourcekey="txtEndTime"></asp:TextBox><img src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtEndTime);"/>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlEndTime" runat="server" CssClass="selectbox" 
                            meta:resourcekey="ddlEndTime">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblIsActive" runat="server" Text="是否启用" 
                            meta:resourcekey="lblIsActive"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:DropDownList ID="ddlIsActive" runat="server" CssClass="mediumselectbox" 
                            meta:resourcekey="ddlIsActive">
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlIsActiveOper" runat="server" CssClass="selectbox" 
                            Visible="False" meta:resourcekey="ddlIsActiveOper">
                        </asp:DropDownList>
                    </td>
                </tr>
            </table>
        </div>
        <div id="div_bottom">
            <table>
                <tr>
                    <td>
                        <asp:Button ID="btnSearch" runat="server" Text="<%$Resources:ButtonResource,btnSearch%>" CssClass="button" 
                            Enabled="False"   onclick="btnSearch_Click" 
                              />
                    </td>
                    <td>
                        <asp:Button ID="btnNew" runat="server" Text="<%$Resources:ButtonResource,btnNew%>" CssClass="button" 
                            Enabled="False" 
                            OnClientClick="javascript:window.location.href='Contract.aspx?from=query';return false;" 
                             />
                    </td>
                    <td>
                        <asp:Button ID="btnList" runat="server" Text="<%$Resources:ButtonResource,btnList%>" CssClass="button" 
                            Enabled="False" 
                            OnClientClick="javascript:window.location.href='ContractList.aspx?from=list';return false;" 
                               />
                    </td>
                    <td>
                        <asp:Button ID="btnExport" runat="server" Text="<%$Resources:ButtonResource,btnExport%>" CssClass="button" 
                            Enabled="False" 
                            OnClientClick="javascript:window.location.href='ContractList.aspx?from=query&export=y';return false;" 
                             />
                    </td>
                </tr>
            </table>
        </div>
        <input id="hdnActionID" type="hidden" runat="server" />
           <input type="hidden" id="hdncalendarFlag"  runat="server"/>         
      <input type="hidden" id="hdnDataFormat" runat="server" />         
    </div>
    
    </form>
</body>
</html>
<script language="javascript" type="text/javascript" event="onclick" for="document">
		<!--
		 hiddenCalendarDiv();
		//-->
</script>